package com.budee.boke.dao;



import java.util.List;
import java.util.Map;

import com.budee.boke.model.Article;
import com.budee.boke.model.Pager;

public interface ArticleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKey(Article record);
    
    List<Article> list();
    
    List<Article> listAriticle(Map<String, Object> map);
    
    Pager<Article> pageArticle(Map<String, Object> map);
}